import http from './http/index';

export function apiGetPageForDriver(data: any) {
  return http({
    method: 'POST',
    url: `/api/driver/task/pageForDriver`,
    data,
  });
}

export function apiChangeState(data: any) {
  return http({
    method: 'POST',
    url: `/api/driver/task/changeState`,
    data,
  });
}
